package org.come.Frame;

import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Graphics;

import javax.swing.BorderFactory;
import javax.swing.DefaultListModel;
import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JList;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.ScrollPaneConstants;

import com.tool.imagemonitor.FightingMonitor;
import org.come.until.SrcollPanelUI;

import com.tool.btn.FormsOnOffBtn;
import com.tool.btn.RoleCaoZuoBtn;
import com.tool.tcpimg.UIUtils;


public class WllpetZJpanel extends JPanel {
    private JLabel toubbmp;
    private JLabel toubbhp;
    private JLabel toubbexe;

    public WllpetZJpanel() throws Exception {

        toubbhp = new JLabel();
        this.add(toubbhp);
        toubbmp = new JLabel();
        this.add(toubbmp);
        toubbexe = new JLabel();
        this.add(toubbexe);
    }
    public JLabel gettoubbhp() {
        return this.toubbhp;
    }
    public void settoubbhp(JLabel toubbhp) {
        this.toubbhp = toubbhp;
    }
    /** ========================================================== */
    public JLabel gettoubbmp() {
        return this.toubbmp;
    }

    public void settoubbmp(JLabel toubbmp) {
        this.toubbmp = toubbmp;
    }
    /** ========================================================== */
    public JLabel gettoubbexe() {
        return this.toubbexe;
    }

    public void setToubbexe(JLabel toubbexe) {
        this.toubbexe = toubbexe;
    }
    /** ===========================存=============================== */
    public void intoFighting() {
        toubbexe.setVisible(true);
        toubbhp.setVisible(true);
        toubbmp.setVisible(true);
    }
    public void outFighting() {

        toubbexe.setVisible(false);
        toubbhp.setVisible(false);
        toubbmp.setVisible(false);

        //petZlehead.setVisible(false);
    }
    }